package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.media.dtos.WmNewsDto;
import com.heima.model.media.dtos.WmNewsPageReqDto;
import com.heima.model.media.pojos.WmNews;

public interface WmNewsService extends IService<WmNews> {
    ResponseResult findList(WmNewsPageReqDto wmNewsPageReqDto);
    ResponseResult saveNews(WmNewsDto dto);
    ResponseResult findWmNewsById(Integer id);
    ResponseResult delNews(Integer id);
    ResponseResult downOrUp(WmNewsDto dto);
}
